def shi():
    print('静夜思---李白')
    print('床前明月光，疑是地上霜')
    print('举头望明月，低头思故乡')


def add():
    a, b = 6, 7
    print('a和b的积为:', )
    return a + b


c = add()
print(c)


def add(a, b):
    print(a + b)


add(1, 3)

c = 7
d = 9
add(c, d)

add(4 * 5, 9 % 3)

e = 0
add(8, e * 4 + 3)


def sc(a, b, c):
    print('张三成绩为:', a)
    print('李四成绩为:', b)
    print('王五成绩为：', c)


sc(30, 52, 98)

sc(b=52, c=98, a=30)


def reg(name, age, sex='女'):
    print('姓名：{}年龄：{}性别：{}'.format(name, age, sex))


reg('小丽', 20)
reg('小张', 21, '男')
